#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
	int arr1[5] = { 0,1,2,3,4 };
	int arr2[5] = { 5,6,7,8,9 };
	int arr3[5] = { 0 };
	int i;
	for (i = 0; i < 5; i++) {
		arr3[i] = arr1[i];
	}
	for (i = 0; i < 5; i++) {
		arr1[i] = arr2[i];
	}
	for (i = 0; i < 5; i++) {
		arr2[i] = arr3[i];
	}
	for (i = 0; i < 5; i++)
	{
		printf("arr1[%d]=%d\n",i, arr1[i]);
	}
	for (i = 0; i < 5; i++)
	{
		printf("arr2[%d]=%d\n", i, arr2[i]);

	}

}